Fix crash regarding calling the init method on RDNavigationElement class with nil param.