bugfix to allow for automatic updating positions of objects