Fixed mouse callback signature