The problem is that the shadow space is being added before the 5th parameter. It needs to be added afterwards.