QT apps draw windows without borders or drop shadows

QT apps (I tried Okular and KeePass), when installed via snap, draw their windows without borders or drop shadows. This make it difficult to differentiate child window’s borders, for example. See attached screenshot.

This problem doesn’t happen when said apps are installed via .deb.

Smells like a UI theme bug, you may want to report a bug against the project that provides the UI theme for those snaps.