Fix errors with empty overlays