Removing dispose from painting

Correct location is during painting.