Position properly with different container styles