set proper layoutBounds