Editor: fix corrupted image in quest created by Quest > New quest.

Fix #548.