It mounts straight to the control panel using built in bolts.. The control panel is slightly angled down. I play standing up and and I'm 99 percent sure that's not the issue. If I just angle it the upper right corner I sometimes have to wiggle it to get the two switches to engage. The joysticks are old from roughly 1995. I guess what I am asking is if i should play around with bending the contact bars that press the switch.
Your best bet is to just buy a new joystick. They aren't very expensive. Your problem is likely caused by bad microswitch(es) and/or general wear and tear. With replacement joysticks of that type being so inexpensive, it isn't worth the effort to try to fix the one you have, which won't be as nice as a new one regardless of what you do.
Consider yourself lucky that it is such an inexpensive and readily available as-brand-new joystick, and not something like an SNK/Seimitsu LS-30.