fix for null pointer exception...

I have here a problem when switching states: after update to flixel 3.2.1 the frames==null, when adding this check everything works.