Clear before draw logic
Avoid hang in slow devices