Moved the dim Menu invincibility check further down the loop to make sure it gets applied