Fixed the z-order issue for HTML5, for real