view instead of layer
(cherry picked from commit 92b2ed11ae0ef114581d6694af7acdba0d9aab46)