Added a fix to make precision issues go away even more.