attempt at fixing window open blink