fixed the issue with varying font sizes on zooming in and/or out