Resize handled correctly