fix max framebuffer sizes (should these by dynamic?)