Fix dismiss animation