Remove stuck class element when unsticky. Add test.