Fix problem with cursor not appearing in IE11 when clicking below the body.
Avoid unnecessary code branching.
Clarified code with a comment.
Merge branch 't/10906b' into major