Fix modal frame for ipad