Proper sizing on non-Gecko browsers