The Quest: Fix for the editor

Fixed a crash in the editor.