Correction of a scrolling bug