FIX: mono or indexed PNG images loaded incorrectly