Fixes to layer-backing of views.