Fix for direction selection while hero is moving

Direction of movement is now calculated based on character position
differences from one step to the next. Furthermore the screen ratio is
taken into account.