Fixes error in Multipoints with Z rendering
Merge pull request #1625 from giohappy/master

Fixes error in Multipoints with Z rendering