Fixes color parsing issue