Call to refreshResolution in it's own thread to prevent white flashing