Fix pointer lock issue.