This fixes the annoying incorrect capture region problem, and I think that this will not cause any significant layout problems for different DPIs.
However, while this works well on my laptop with different text scale settings, it should be checked on different computers as well.