Fix bug in Resizer when resizing 'auto'.
Fix bug in Resizer when resizing 'auto'.

Fixed a bug in the resize auto method of the Resizer class.

AndreasHeiberg/stapler,sonuku/stapler,oschettler/stapler,flaxandteal/stapler,aozisik/stapler,InMoji/stapler,CodeSleeve/stapler,riyan8250/stapler,neerajgoyal12/stapler,simudream/stapler