Fixed error box sizing and tooltip position