Added frame counting for existing CSS Sprite Files