Fixed NSNumber to CGFloat compilation error