Fix image popup window