Correct resizing and positioning in IE8