Fixes Firefox layout bug