Fixed a rounding bug for close range spells