Step 1: The Casing is Blocking the IR Signal
By reshaping the legs, you are actually making it “longer” that it will be expose more outside the casing. If the IR LED’s leg is too short, you can get a new IR LED from any electronic store, and make it as “long” as you want. Then solder back the LED to the PCB, make sure you follow the correct polarity as how it is when you de-solder it. If you are putting the LED in the reverse polarity, your IR remote will not work.
Let’s have a look at the before and after comparison for the IR LED placement.