drawFrame function for SkeletonRenderer