tiny typecasting fix that ensure active pager-element doesnt generate events anymore