fix renderer bug- draw unfilled quad command when VBO is full

two things:
1. small refactor on renderer- remove flush(), drawBatchedQuads()->drawBatchedQuads(size_t ,size_t)
2. fix quad command rendering bug when VBO is full