Fixing bad math for horizontal baseline