Hotfix: prevents cut off of y-axis label due to bad values of context.measureText()