fixed magnific popup gallery clipping bug