Fix ANR in onFling