Hides the border after drawing