prevent crash when no or wrong textbox position in the configuration file