Hey,
thank you, after implementing the suggested changes it is now working as expected, we tested it with the Version 2018.2.515.40.
Attached some comparison screenshots (I did some anonymisations with the white boxes).
All were taken on Windows 7 machines with 150% Text scaling
2017.1.221.40 <- good behavior without any changes
2017.3.1017 <- bad behavior without any changes
2018.2.515.40 <- good behavior with your suggested changes