Fixed a glitch that allowed the player to walk through walls.