Removed cover view twice instead of the container view