Fixed mouse binding issues