Fix CGFloat warnings

Fixes #23