Bug fixed GImage class