Allow images to be loaded before display.set_mode.