Refactor pong game drawing.