Simplify & Cleanup the framebuffer sizing code