Fixed a bug where the center color was not being set correctly when setColor() was called