Deferred mode: Fixed overlapping registers used in shadow pass when treesway is active and fixed invalid combos used when flashlight is active.