Fix failed to load first frame.