imagepreload fixes (moved to deferred)