Fixes double border of pointing menu attached to segment

A demo of the bug and how it should look after fixed can
be found at http://jsfiddle.net/davialexandre/cww15fon/1/
Merge pull request #1349 from davialexandre/fix-pointing-menu-attached-to-segment

Fixes double border of pointing menu attached to segment