[composer] Improve logic for pan shortcuts (fix #8957)
[composer] Ensure correct mouse cursor is set after releasing pan/zoom shortcut keys