Fixed visibility issue with popup views