Fix resizing support