Filter text field update

Fixes cursor problem in text fields, also leaves the framework to allow
filters to set textbox size in the future.