Fix walking animation

Previously, when walking with negative x-coordinate, your walking direction was
inversed.