Fix crash on 'Run Map' with a newly created, unsaved map

Fixes #144