fix to work with open layers popups