I open the console view by alt+2 and close it with the mouse.
It sometimes happens when I'm in the track view, zoomed in on a clip. When I zoom out and press play, the now time marker is no longer visible.
The only solution then is to close/reopen the project.
I work with all windows maximized, so I don't know what happens when console and track views are open together, will try that next time.