Added hit test to tap handler to work around what looks like a bug in iOS 8's tab and navigation bars. The bug makes taps on the button not respond when they happen on the shadow areas of those UI controls.