Panorama flash (wmode) fix

Fix the issue at http://galleryproject.org/node/110643 .