Fixed a bug stopping music on ios.