Fix bug with placing cursor on iPad when scrolled.