fixed webkit browser issue related to not handling input width correctly