Fix wrong page item detect.