WV-1127: When hiding a layer for caching, remove back buffer if it exists