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