Fix case when pixel is null

This happens when the current map frameState is null, which appears to happen when overlays are added to the map before it's rendered.