Prevent overflow, see https://github.com/phetsims/phet-io/issues/341 (cherry picked from commit 872ce18788da1c3df7649cf5878c3cae02ca327a)
Prevent overflow, see https://github.com/phetsims/phet-io/issues/341
(cherry picked from commit 872ce18788da1c3df7649cf5878c3cae02ca327a)

phetsims/joist,phetsims/joist,phetsims/joist