Fix System.hidden detection on Android.

And possibly iOS. The throttle event actually was getting fired, but
only when the app resumed, which was kinda useless.