Nothing is wrong, this is the expected behaviour. Cake won't try to remember what page you were up to.
There is an easy solution - just store the last accessed page number in the session, and then you can get it again when needed.
The Pagination Recall Component should do what you want.