Note that the issue still occurs, even after upgrading the server to v5.21.0 (only when mattermost dekstop zoom level is less than standard).
However, the bug presents itself differently since the upgrade. Now when it hangs, the channel contents window is completely empty except for “Loading…” with animated dots. This message/animation is completely centered in the screen and no messages are present.