Cleaned up CSS while creating the canvas