Fixes old color value if -1 is returned