Don't crash after deleting photo in full-window mode: Bug #732964