Throw `DeveloperError` if `windowPosition` is `undefined`.  `pick` should also throw, but it doesn't look like it does.