Added targetElementWidth and targetElementHeight configuration.