Bug 1027741. Run decode complete notification handler for image documentsn on a script runner because they trigger invalidation and decode complete notifications are often dispatched during painting. r=smaug