Oops, this is an error. I thought `map.getPixelFromCoordinate` returned `undefined` if the map's view is undefined, but it actually returns `null`. I'll fix this.