fix input area missing right padding when resizing