Fix DI bug with view prototype inheritance

May be You mean that they should be different? In fact you can create some view with some basic functionality and extend it in another view. And it is normal usecase. If You try to use DI while work with this views, DI will always return only the first one.