$ 0 0 `OnGUI()` can be called multiple times per frame - once for each event. Check to see what the event is.