Fixed the directional issues when attached

Was moving wrong direction when on bottom of tile due to using local
space after already getting the direction in world space