Browser automatically unlicks and keyboard stops typing?

My Lenovo is acting up and describing the situation is difficult. For the past couple of months, my browser has randomly, yet consistently, started "unclicking" itself therefore disabling me from typing for long periods of time and having to reclick the area to resume my typing. To describe the "unclicking" situation, it's as if your browser is on a minimized screen and you click the wallpaper of your desktop, making the internet just an app running in the background. It does that then goes back to normal. Does anyone know how to fix this?

If you are a smartphone user, do install Leo Privacy Guard 3.0, Its free available in both iTunes for iPhone, and android's PlayStore, the best security app.