Edge case bug with `afterRender`.

This pull request should alleviate issues users are having with `insertView` and `afterRender` being called correctly.  I think I've dealt with the problem sufficiently, but I'd like to have some users of ~0.8 to give it a shot and report if it breaks/fixes their problem.

@jugglinmike if you have time for a code review that'd be awesome.

@jvis and @bensheldon can you test please?