Fix #1305

Remove bottom border where needed.
Merge pull request #1307 from Destroy666x/fix1305

Fix #1305