Optimize caching the per-square is_outside data for the lightmap code, and it works this time.