Fix freeze when opening playlist