Only replace 0. with . at the begin of a size value.

This fixes values of "10.5" accidentally being converted to "1.5".

I would have added a unit test, but 50% of the test suite is currently failing, so there's not much use in those.