Closed #3332: When the page's visible is false, all sounds should be paused

When the page's visible is false, all sounds should be paused