Welcome to Techimo
Yes, it is weird. Why 5 minutes? Why not 10 or 20? Has it got to do anything with software registration? Like my Norton Anti-Virus, if i havent updated it for a while, on any application that I run (eg game), it would switch me back to desktop again for registration.
You may want to check any possible virus. Is it just that particular game?Does it happen to other games as well?