Did you get to a corner and all surrounding keys were used? There should be a safeguard against it but guess it doesn't work always then. You can also refresh the page and it will continue from the same spot.