Fixed a bug where all entities fly off screen (caused by one of the last
4 commits)