[DF-2613] Fix getting texture size for different landscape editors