Fixed image loading for Processing.js