Restrict scatterplot mouse events to widget