Fix wrong site of the created button when using type "link"

Buttons of type link were smaller than they should be. This small change fixes this Problem.