Solve rendering bug on iPad.