I fixed it! The problem was that I was hitting 'Ref All Home' which seemed to home Y with A at the same time since they are slaved then homed A independently. The solution was to go to the diagnostics page and click 'Ref Y' on its own rather than Ref All Home.