fix mis-clicking when scrolling