Fixed iOS panning issue.