Fix remaining redrawing issues.

This seems to cause the appropriate data to be sent so that particle
systems still work correctly after the device is recovered. Memory leak
still exists.