Fixed type conversion issues for mac/win caused by double/float difference for CpFloat in hipmunk