Sharing closes camera app - how to fix?

When I view a shot photo from the camera app (bottom right button) and then share it, the camera app is no longer open, and I cannot go back to it. This is pretty inconvenient when quickly switching between shooting photos and sharing them.

How can I change this behavior? It wasn’t the case when I used OpenCamera (Fdroid version) on a stock Android 8.0