Fixed crash on startup of worldeditor