Fixed deleting context leaving rightmost slide in the wrong state