Fix Firefox mouse events