Set position of targetElement