Call afterSetContentView in onViewCreated

Fixes #432