Fix bad scroll position when switching buffer and key stealing
Fix parent_layout. Fix the scroll bug