Improved the collision system: if an entity gets sandwiched, it will try to escape sideways.