scroll compensation event bug fix