Revert "Fix crash after level design mode bug"

This reverts commit 0e3ead327d6310de84d6e385966f9d17d5e4b2b1.