Increasing the Localization Performance via Semantic Segmentation