Fixed bug where checking color checkbox wouldn't set color value