Fix of the jumping behavior when objects are moved