Make resetMouseCursor consistent with setCursorMode