Removing an element on resize doesn't work (but adding does)

For possible future readers, this thread somewhat continued here and here: