Fix walking animation

Previously, when walking with negative x-coordinate, your walking direction was
inversed.
Merge pull request #1206 from heinrich5991/pullreq_1206

Fix walking animation