Hack to load the layers in Firefox