Simplify & cleanup the framebuffer sizing code

Tested 30 sets of titles and looks good.