setTranslation bugfix