Fixed NPE in EntitySkeleton