fixes #2796 Scroller on wysiwyg is short on site with many hosts

Fixed the issue and committed code for review, please check it.