There was a race condition where the callback was set after the src was set on the image. When loading Camera from the localhost the image may sometimes load faster than the code can get to the callback. By moving the code down where the src is set this issue is fixed.
There was a race condition where the callback was set after the src was set on the image. When loading Camera from the localhost the image may sometimes load faster than the code can get to the callback. By moving the code down where the src is set this issue is fixed.