Fixed bug dereferencing element attribute widgets