Fixes #5268 adds warning for wrapping views