Fix pan with select interaction in mousemove mode.
Merge pull request #2965 from tonio/pan_selectinteraction

Fix pan with select interaction in mousemove mode.