Fix axis font sizes before transition