DF-1938. Fix tilemask editor crash with quick clicking on landscape