Fix wrong site of the created button when using type "link"
Merge pull request #886 from Tak0r/master

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