Fix several bugs for ingame sounds

Should fix following bugs
https://github.com/def-/ddnet/issues/75
https://github.com/def-/ddnet/issues/76
https://github.com/def-/ddnet/issues/77