Just as I thought
The animations are totally screwing with the accuracy of the AA guns. In order to fix you need to delete the mask_name and set the start_index and end_index to 0 for the Elevation gun_anim box. AA gunner is very accurate then

You have to do this to both 20mm AA guns (20mm_C30 and 20mm_C30_2) for the sub.