fix bug when seeking a frame
fix bug when seeking a frame