fixed crash in skeleton frame event