Fixed text input extent bug