Use unique_ptr in Framebuffer.