Fixes an issue that prevents metrics selector from being loaded in Firefox