Fixed onLoad bug

No longer waiting for last image to be loaded