Don't crash if no images are open