Fixes a firefox issue