Use cleanup queue instead of clearing out of the render loop