Slight keys_frame_time refactoring