wrong class for RenderWindow