Fixed map compression bug

The map compression method did not work because of reference comparison.
Now, it is done by using overriden Equals method of Pixel structure over each element of the array.