Fixed an issue with translation and object editing