Graphics engine bug fix - spritesheets

Yet another fix.  Everything seems to be working now.