fixed issues with mouse clicks leaving characters