Fix mouse warp logic.