Fix move entity.