Fixes to make 3d sound work.