fix: convert CGFloat into rubymotion