Fix bug in custom-contentview example