Added a debugging exception when an entity moves outside of the world.