Fixed dismiss keyboard animation to use correct animation curve (saved in an ivar.)