Fixed 64bit implementation

Fixed problem when CGPoint variable,CGSize variable and CGRect variable have maximum value.