Fixes double border bug. Re #161