Added a check for unset vertex colours before binding the buffer. Needed to stop WebGL from throwing errors when rendering geometry with no colours defined.