Magnific popup fix