#1065 fix: It's allowed to pass NULL geometry to the preview renderer