Correctly assign class to fallbackImg object

Used the wrong attribute before. Should be className instead of class.