Fix seeking, seems to work quite ok now