Fixes scroll bug.