Fixes for img widget