The image viewer is supposed to let the image draw behind the system bars, covering the full display. The tap is supposed to hide/show the systembars, to imitate full screen behaviour.
On tap it just asks Android to hide/show systembars. So its quite strange that it behaves differently here for the status bar. Probably something to do with Android 14.
See https://github.com/user-attachments/assets/ba96831c-e515-4c92-b9f4-4c73f6277926