slightly optimized webgl drawing in markers,