Fix frame_count reset by pressing Play