This PR fixes a bug in master (d67883d01e507dd22d1281f4a4860e79d6a46a47) and in 0.20.1 that could be easily reproduced with
$ src/qt/bitcoin-qt -regtest -resetguisettings -nowallet

With this PR:

This PR is an alternative to #107 without hard-coding a size in pixels.
