bug fix for position of absolutely positioned element when there are borders