Call SetCursor always on the UI thread

Fixes #2862.

-[Unknown]