Adding transition to null for an overlay that has been rendered and is switching to no longer be rendered