Fixed transparent layer bug