bug 1044125 - Only capture screenshot and show overlay when edge gesture...

...s are in use or task manager is used. r=alive
Ah yes! True. I've added the same hardening (also checks for visible class, if present, skips the rest for efficiency).