Fixing music loop bug