Optimise the fetch-same-frame case a bit (#196).