Fix issue with mouse pointer over floating legend