Add a patch for `getDataExtent` of `Layer.Vector`.