Fix the page indicator bug in Chrome