BindBuffer fixes