DF-2001. Fix tilemask for editors with custom landscape. Fix wrong bounding box in custom landscape