Fixed water bug caused by lost floating point precision