Fixes #95 (hopefully): Avoid setting font size to NaN on unexpected values.