Fix positioning of direct text cell editor on figures + clean up.
Fix relative/absolute translation/positioning bug for direct text cell
editors