Fixes diagonal movements

I did a quick fix to the Hero class that fixes diagonal movements.