Fixed collision detection sliding along walls.