Fixed a size bug in Firefox/Webkit.