Like others, my vote is with the dimmer switch. Take it apart if you can. You will probably find the high beam contact is burned, likely due to the sliding/rotating contact not making full contact with the high beam connection. Sometimes aftermarket stuff isn't exactly built with high quality.