Fixed bug with new image widget