Remove png writing at every frame