Fixed Audio Issues

Sound volume and pan now work properly.

Partially fixes #437