[FIX] fix the mode readonly on image widget