Fix modal animation