Remove duplicated focus() after opening print window