Prevents empty draw call
Merge pull request #198 from cedricpinson/fix-empty-draw

Prevents empty draw call