Fix location clone bug in entity's cursor_on attribute