Fixed problem with Internet Explorer because of its use of decimals with offset.