Fixed initalization issues under nib loaded environment.