:internal: fix size bug (deviceRect) when setting base font size