Improved hover detection for for scatter plot fill tonext* [#6865], with thanks to @lumip for the contribution!