Starling optimization: adding context loss handlers only on quadbatches with index and vertexbuffers