Fixed floating point coordinate error in PinObject.