Fix #1048: Default View code template sets wrong title attribute