fixed error with focus and clicking the scrollbar - close #923