Fixed a bug which lead to the avatar falling through the floor instead of colliding with the wall or floor.