DF-1996. Fix tilemask saving. Fix tilemask updating for editors with custom landscape