Implemented detection of very thin polygons and restriction of alpha transparency.