Leicester's Craig Shakespeare felt Manchester City's Raheem Sterling was offside during David Silva's opening goal.