paint border in a simple layer