setFilterWidth takes margin into account

setFilterWidth() now takes into account any horizontal margins that might be added to filter field e.g. via css