Fixed bug relating to the size of the target element when using the target property (Fixes #35)