fixed bug in contextloss handling; only restore the buffers of Quadbatch on contextloss when they were already created before