Fixed a bug in vwInput