Changed Cocoa activation to trigger on WillAppear instead of DidAppear.

Fixes #778

WillAppear allows activation to take place before the view is displayed. This means that handlers or visual components can get into place and transition into view. Otherwise, DidAppear creates a window of inactivity where an animated view may appear void of activation until it's fully in view.