Removing code related to the drawing