fixed some annoying PyQT bug of crashing when window exists