Fixed a nib loading crash.