Fix a Panorama Mouse Event issue
Merge pull request #301 from alfhenrik/master

Fixes Issue #244