I got the same issue in modal pop which is written by pure js
It seems that the editor size behaves differently in differnt web browsers. mainly the difference between IE and all other W3C standard browsers I guess.
after the editor initialized, if you hide the editor and display it again, the browser's size will be funny.
this actually is known issue that I raised long long ago and has never been addressed.