Fix world editor crash.