Fixed stupid bug in image widget