Hey, @dotsquid 
Thanks for the patch.
But if you test your demo project by XCode, you will find that it crash also after this fix.
The reason is that `_VAOname` also needs to be set to zero.