fixed InputBorder and friends