Fix bug when trying to export image without full path.
Merge branch 'master' of github.com:labyrinth-team/labyrinth