fixed the bug where the player and bunny would get stuck in walls