Fix spatial mode crash and shift+double click

Fixes issues:
https://github.com/mate-desktop/mate-file-manager/issues/120
https://github.com/mate-desktop/mate-file-manager/issues/161
Merge pull request #162 from infirit/master

Fix spatial mode crash and shift+double click