Fix input resizing