[DF-2811] swap wrong conditions in HeightmapEditorSystem