HTUIProcess: Do not register mouse if not enabled.