fix redraw delay to never exceed FRAME_BUDGET
Merge pull request #263 from zzmp/patch-1

fix redraw delay to never exceed FRAME_BUDGET