It's because the content hasn't been rendered at that point. I have it setup so that it calls `afterRender` if that function exists in the view, so you can move that in there and it should work properly.