Fixed erroneous exception condition in enqueueCopyBufferRect: origin and region must have 3 elements, not 2.