If the window is activated the first time this class does some initialization, which
can't be done in AttachedToWindow or the constructor. This includes a full repaint
of all child views. After the initialization is finished 'firstActivate' is set
to false.