Fixes for IE7 and IE8 box model