adjust icon position based on border/margin/padding