Fix popup windows