Finally fixed the problem with sounds randomly cutting out.