bug fix in basicGL/Image.cpp