Added Sugar function to clear a canvas context while preserving the transformation