layers: Add missing null-check in DrawState
1 file changed