Fixed mouse bug