Fix positioning of complex text input panel.