[#818] Fixed leaking border.