call setLoaded() in PImage.loadPixels()