fix positioning on foreignobject elements