Fixed mouse offset bug.