Resize temp frame buffer on height changes
Fix rare resize bug: copy rows when resizing