Fixed double-free of the window shape path