Fix in TextArea test to cope with changing dimensions after browser updates; now allows a tolerance threshold