cocoa: fix NSTrackingArea crash

we'd deallocate our NSTrackingArea when getting moved to a nil window
but wouldn't reallocate it if we got moved back to one