Corrected resizing in chrome