How long after XFlush is called does the screen typically refresh correctly?