setting frame on set_current_frame