Fix for Sprite & unloaded images with calculated frame counts.

Signed-off-by: Grant Skinner <info@gskinner.com>