fix player inventory/health being reset after level change