Cache last positions to get rid of jittering