Fixed flickering problem when many lights collide
Fixed some edge cases with point lights being on the exact perimeter of opaque polygons, which caused crashing and/or incorrect shadows