Revert "Reworked transparent layer"

This reverts commit 130380b0775188a836e6bad8d317995838544d43.