panorama: show mask ealier
panorama: fix another issue with IE8