Fix incorrect input height