bug fix: when deleting buffer, we must also disable vertex