Fixing paused routine w/ priority event bug