fix how layoutBounds are set, they should be set via options