fixed custom border draw