Handle object draw order in minimap and save-as-image

Objects are no longer always drawn top to bottom.