Check world for null in MusicPlayerLogic to prevent crashing the lobby

Fixes #6517
Merge pull request #6522 from obrakmann/fix6517_lobby_music_crash

Check world for null in MusicPlayerLogic to prevent crashing the lobby