change how insets are handled on resize