Bugfix: Set image attribute from method to avoid inconsist state.