Fix longitude values when mouse event is < -180º or > 180º.