Editor: Fix crash when opening UI layout with element without type set.
Editor: Fix crash when opening UI layout with element without type set.

rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D