Fix SWF parsing bug