Fixed bug causing default colors to be inserted into the output twice