Fix the bug of scroll indicator