Fix no longer using framebuffer for each thread.