Fix CGFloat warning
Merge pull request #24 from matejkramny/master

Fix CGFloat warnings