Revert "Apply depth even when surface is null"

This reverts commit a6c38be150681f537ef316a56867387309861768.

Fixes: 193333562
Test: manual
Change-Id: I4fae079e0cd056fc800e5a15389f4795c77e17fb
1 file changed