Smarter resize. Clear input for single keys added