Fixed mouse func