Added AfterVisible-Event.