Fixed the click after scroll bug.