fix references hover with border-box