fix some bugs with collidable areas