Handle max width/height
Rename resize method
Handle null min/max width/height