Added color parameter to collision rendering code