Moved sound loop to component, fixed NPE when falling into void

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>