Added diagonal movement for the player.