fix player error bug when resource load failed