Fixed following bug from level editor: