Updates to draw a shape on the screen.