Attempts to improve Scrollpane layout bugs