Window working with renderer