This bug will be fixed in the next release of Xcode 8.2, make sure to update. Xcode 8.2 Release Notes
Ok, so I found out how to remove the blue rectangle.
If I add an image to the button of the tab bar the rectangle will disappear.
The end result: