Fixed mouse problems