Trying to fix issue with FrameSnapshotHandler