various 0-sized image repairs

closes PR 13540