Does old-style GUI still work?

I have some old-style OnGUI() mouse handling code that no longer seems to work. I’m not sure exactly when it broke, but it no longer works in 5.3.3.

I currently only get paint events in OnGUI() - no mouse events.

Also, the exact example from the OnGUI() documentation does not work:

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void OnGUI() {
        if (GUI.Button(new Rect(10, 10, 150, 100), "I am a button"))
            print("You clicked the button!");
        
    }
}

The button shows up and does proper hover behavior, but does not respond to a click.

I was under the impression that the old-style UI code should still work. Am I missing something?

Thanks!

Edit: After some more investigation, it turns out that this is happening when I am set to an Android build in the editor. If I switch to a Windows build, it works as expected. Not sure why this is.

You clicked the button!
UnityEngine.MonoBehaviour:print(Object)
ExampleClass:OnGUI() (at Assets/ExampleClass.cs:7)
Works for me.

5.3.4f1