I assume it doesn't happen with other things e.g. windows, games, etc?

It sounds a bit like a monitor problem but I'm sure it's not that.