Make deprecated renderSubViews method throw error