Fixed mouse issues