You do realize this is the Adobe After Effects forum?
It is generally recommended not to use an editing machine for gaming (and vice versa).
Is your video driver up to date?
this is a common problem with an easy solution. Simply press Alt+F4.
Here's an even easier solution -- don't play games.
Treat AE like the professional, resource-hungry application it's designed to be.