fix mouse wheel scrolling bug