wait til next frame to callback in all cases
Merge pull request #8 from segmentio/add/next-tick

wait til next frame to callback in all cases (resolves #7)