Fix Editor crash when inspecting Drawable2D attributes.
[ci skip]