Fix for popups on mobile