Fixed color bug, introduced bug

I fixed the color bug however now after trying to change the size of the
map image it no longer works. Check issues for more