Hacky fix to precision issues.