Fix #1305

Remove bottom border where needed.
https://github.com/mybb/mybb/issues/1305