fixed InputBorder and friends
Merge pull request #295 from vrozkovec/master

fixed InputBorder and friends