Fixed blocking parameters that made updating frames very slow

I fixed a bug that made the GPU implementation of adding new frames very slow.