Klaasen feels mindset shift helped Proteas cope with NY pitch