add set_pos

adjust scale and offset only when entities count changes or manually