Leeds scrambled the ball away after Luke Ayling's stumble had presented Raheem Sterling with a chance.