Fixed square drawing and outline problems in Graphics.