improved error tolerance of SDL native surface conversion