Repository: flutter
Issue: [android] Hybrid composition /w SurfaceView inside List appears on top of AppBar.
Labels: platform-android,framework,engine,f: scrolling,a: platform-views,has reproducible steps,P3,found in release: 3.3,found in release: 3.4,found in release: 3.5,team-android,triaged-android

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Execute `flutter run` on the code sample.
2. Scroll until the column goes behind the appbar.

**Expected results:** The platformview continues to stay hidden

**Actual results:** Part of the platformview appears over the appBar.

<details>
<summary>Code sample</summary>

See https://github.com/andreasgan/flutter-platformview-bugs/tree/overlay-appbar
The only changed files are [main.dart](https://github.com/andreasgan/flutter-platformview-bugs/blob/overlay-appbar/lib/main.dart) and [MainActivity.kt](https://github.com/andreasgan/flutter-platformview-bugs/blob/overlay-appbar/android/app/src/main/kotlin/com/example/bug/MainActivity.kt).

</details>

<details>
<summary>Logs</summary>


flutter run --verbose > output.txt
[output.txt](https://github.com/flutter/flutter/files/9809803/output.txt)

flutter analyze
```
Analyzing bug...                                                        
No issues found! (ran in 1.3s)
```


flutter doctor -v

```
[✓] Flutter (Channel beta, 3.4.0-34.1.pre, on macOS 12.6 21G115 darwin-arm64, locale en-NO)
    • Flutter version 3.4.0-34.1.pre on channel beta at /Users/andreasgangso/dev/tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 71520442d4 (13 days ago), 2022-10-05 16:38:28 -0500
    • Engine revision db0cbb2145
    • Dart version 2.19.0 (build 2.19.0-255.2.beta)
    • DevTools version 2.18.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/andreasgangso/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.72.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • SM A336B (mobile)            • RFCT61355AR               • android-arm64  • Android 12 (API 31)
    • BCC Media UX dev 2  (mobile) • 00008030-0014656C3433C02E • ios            • iOS 15.5 19F77
    • macOS (desktop)              • macos                     • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)                 • chrome                    • web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```


</details>


https://user-images.githubusercontent.com/727125/196413918-7337d769-2b1e-482e-9abb-0902fc86a555.mp4