Added a safe isDisplayed/isEnabled, fixes crashes