Hi
This is working as designed
Your std cost was released with account X and you replaced with Y during actual posting.
Target will show against X and actuals against Y. This is correct behavior. You can change the GL during std cost to avoid this issue
Ajay M