Added an 0-args constructor for UIElement class