Fixed HWND compare in NC_HandleSetCursor.