[DF-1294] Fix custom colors commands to store only changed rect of the texture. Small fixes
[DF-1294] Fix heightmap editor commands to store only changed rect of the texture.