Scroll-frame: fixed a couple bugs with RecalcFrameSize