bugfix crash using scrollbar