FIX: image size in magnific popup is now updated after content has loaded and the real maximum height is available