Goalkeeper’s unorthodox tactics got in Inter captain’s head as Allegri’s side held on for all three points at San Siro