Close icon on tab with tab wrapping is in odd place

image

When using tab wrapping, the close icon for a tab will stretch to the end of the screen rather than being spaced like the rest of the tabs are. Instead of it stretching to the end of the screen, can it please work like all the other tabs so the X icon is not in an odd place?..