Do not attach view if autoAttach is false.

Do not attach view if autoAttach is false when render is not overridden. Closes gh-480.