Android test fixes

 Set targetSdk to avoid compatibility modes
 Fix concurrent access of pressed field
 Ensure rendering happens *after* the new motion event instead of before