restore framebuffer setting