Second attempt at stopping screen flicker