Drawing GIF Image Caused Endless setDirty function Called to Be Triggered