So recently I had this problem with my computer

Take for example firefox, sometimes when I click another tab, the visuals of the original tab stays on screen and only updates a part of the buttons/pictures when I mouse over them.

It becomes fine when I click another tab and then click back to the tab i want again

Can someone tell me the technical term for this phenomenon?