added a buffer stratagy It worked drawing to the screen