fix resolving view roots for views with a folder specified