Translate mouse events