Fixed the bug with seeking.