jpeg compression - more frames shown in titanium