#57 Photo viewer - display bug when a popup is shown