Fixed a fatal error when calling current after rewind