Added configurable force resize option