fixed bug: hero spritesheet not animating correctly

hero spritesheet would stop animating even when directional keys were
being pressed