fixing some issues with convenience VBOs and materials