fixed audio stopping when window is closed by clicking on overlay