This makes scrolling in Firefox, which also monitors vblanks on the root window, laggy. (cherry picked from commit ffc01329)