My grid is supposed to have 50 rows, but it stops rendering near the end of the 41st row. If I reduce the width of each row then it renders a bit more rows Here's my code   Is there a limit to the number of draw calls I can do on a single graphics object? It's interesting that it breaks at 4096 calls, exactly 12 bits. How am I supposed to render this grid?