The vertex color opacity was always set to 0. This makes sure that during rendering, vertex colors are used.