fix 2D vs 3D coordinatesystem regression, fdo#67300

regression from 088e86b865062dd4cc5ba0c85c6068dea62238db