mdnie: black crush fix

credits to AndreiLux