fixed bug that caused getFrameAsync to fail when using minified library