renderers: allocate less poly buffers and fix max checks

Reverts etlegacy/etlegacy#88