bugfix for item position update