Clean up MapPreviewWidget.

I extracted the lobby fixes from #5196 and made some additional cleanups. Fixes #5665.