fixed perf bug in webgl

was caused by leaking the command queue at every frame since it wasn't being cleared.