iOS: Fix button sticking (from @rock88)

This is just his gist applied.  It seems to work well for me (although, it doesn't want to let me press multiple buttons at once, it did that before...)

Also snuck in a profiling fix, oops.

-[Unknown]