fixed #403: Optional resize if bigger setting