Fixed a few issues with the resize logic.
Fixed a few issues with the resize logic.

howanghk/tinymce,gabixdev/tinymce,dziemian007/tinymce,gabixdev/tinymce,gencer/tinymce,cclaerhout/tinymce,blakewallan/tinymce,MediehusetTek/tinymce,widgetfactory/tinymce,FernCreek/tinymce,kencheung/tinymce,nikolas/tinymce,Kindling/tinymce,tinymce/tinymce,nbcp/tinymce,ChristophKaser/tinymce,jtark/tinymce,adaptiffdesigns/tinymce,bsuh/tinymce,simachewh/tinymce,Zimbra/tinymce,1099511627776/tinymce,enfold/tinymce,VioletLife/tinymce,fillabs/TinySpecMCE,simachewh/tinymce,sachgits/tinymce,widgetfactory/tinymce,FernCreek/tinymce,ChristophKaser/tinymce,danchr/tinymce,aduth/tinymce,rbecheras/tinymce,VioletLife/tinymce,M4R7iNP/tinymce,ETSI-CTI/TinySpecMCE,leofeyer/tinymce,bsuh/tinymce,pmpl-5/tinymce,endjin/tinymce,toxalot/tinymce,collective/tinymce,support-dot-com/tinymce,ETSI-CTI/TinySpecMCE,rxl194/tinymce,jashua212/tinymce,fhchina/tinymce,ice8lue/tinymce,Shopify/tinymce,collective/tinymce,tinymce/tinymce,ikuchmin/tinymce,enfold/tinymce,aduth/tinymce,1099511627776/tinymce,fashionsun/tinymce,mplank/tinymce,gencer/tinymce,sachgits/tinymce,fillabs/TinySpecMCE,tinymce/tinymce,MediehusetTek/tinymce,TeamupCom/tinymce,henrythewasp/tinymce,danchr/tinymce,Razzwan/tinymce,shilpi230/tinymce,endjin/tinymce,rednose-public/tinymce,danielpunkass/tinymce,howanghk/tinymce,nikolas/tinymce,M4R7iNP/tinymce,shilpi230/tinymce,rxl194/tinymce,support-dot-com/tinymce,henrythewasp/tinymce,nbcp/tinymce,sjbufton/tinymce,danielpunkass/tinymce,ice8lue/tinymce,dziemian007/tinymce,rbecheras/tinymce,jashua212/tinymce,mplank/tinymce,Zimbra/tinymce,blakewallan/tinymce,FernCreek/tinymce,Kindling/tinymce,toxalot/tinymce,ikuchmin/tinymce,rednose-public/tinymce,Razzwan/tinymce,TeamupCom/tinymce,adaptiffdesigns/tinymce,jtark/tinymce,leofeyer/tinymce,danielpunkass/tinymce,sjbufton/tinymce,fhchina/tinymce,cclaerhout/tinymce,kencheung/tinymce,fashionsun/tinymce,pmpl-5/tinymce