bug fix on editor scrollbars