Fix mouse position on plot widget