fix mouse pointer issues