bugfix: setting color of points produced an error when no points were given