Fix application close on installer window