Hearts are granted an early opportunity after a handball incident, but captain Lawrence Shankland hits it off the post.