fixed mouse event in histogram