Quite harmless, but was lazy code... When you choosed "Vertex Color Paint" material, the init_render_material() also set the "Vertex color Light" option, because that flag was checked on during render to detect vertex colors. Now it has proper checks in render code.