I missed frame.clear(). I will add it