Geometry: Fix compiler warning (NULL arithmetic)