Revert "Reworked transparent layer"

This reverts commit 7bdfa56f9a67c06f231eb3fd08d1e64841906dc5.