fix layer masks in player control