Required for Xwayland applications that don't set their own cursor. Related to kwin!4165. (cherry picked from commit 5559b699)