I think I might have fixed the problem. Under -

System >> Preference >> Appearance >> Visual Effects

I've changed the default value from Normal to None.

Now it seems that GlPaint is not being called as I switch focus between the GUI and GL windows. Even after restarting my computer...

Any comments?