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