Prevent drawing lines along border edge