mdnie: black crush fix

credits to AndreiLux, AndiP71