Fix BUG: invalidate scrollbar after scrolling occurs in editor