fix debugging alert messages in _resizeOverlay