Check framebuffer size.