Fixed a NullReferenceException on startup.
Scale factor needs to be parsed invariantly.