Fix Float to CGFloat