Changed window show event effect