Stop queue bars getting hidden

This accounts for padding on the container and gets the style of the nearest element, not the parent.