Analyzing center of sprite