Fix a crash when point has no color specified.
Update to modern API.
Xcode.