Minor bugfix in sceneeditor