This was very confusing to play, since it seems like some things spawn based on the display size, and other things are based on the room size.
I'm not sure what do you mean by that? Everything is spawned by the same scirpt in the exact same way, the center point is the player.