Fix the vanilla renderer navmesh debug draw fix.

Polygon debug draw (when activated) was breaking rendering.