fix redraw delay to never exceed FRAME_BUDGET