minimize framebuffer size