Fixed a scroll bug