For texturepacker compatiblity, make sure 'frame' property exists before attempting to use it
Merge pull request #54 from spmurrayzzz/patch/texturepacker_compat

Sanity check frame object before adding to TextureCache