fix taking screenshots form flash mediaelement