Clean up used resources when destroying an OS X / CALayer