Fix some warnings where CGFloats were being truncated to floats in a 64-bit build
Merge pull request #576 from zszego/cgfloat_64bit_fixes

Fix some warnings where CGFloats were being truncated to floats in a 64-bit build