Added SGUtility method to draw an image right side up