fix bounds check
try to get raster interrupts working again.