handled rendering window error