I would simply cut the edge of the heatsink that is on the HV rail, put some kapton between the rail and the heatsink and as the case is plastic, run a wire to ground both the rotary encoder and the handle connector, if the front panel is made of aluminium scratch it under the bolts to make a proper connection.