Fixed floating point error with box wall.