fixed small issue with mouseclicking not always working (dragging few pixels)