Fix element disappearing when developer modes is disabled.