Correct clear range on window scroll

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>