Fix onChange event when using instanced Pagination to Carousel