This reverts commit fab18c5b This change breaks HiDPI in JetBrains IDEs when a fractional scaling factor is in use.