fix for events not being delivered on handler threads in android