Fix spatial mode crash and shif+double click

Fixes issues:
https://github.com/mate-desktop/mate-file-manager/issues/120
https://github.com/mate-desktop/mate-file-manager/issues/161