Fix non-left aligned images in Chrome/IE

Sorry, think my previous pull request never worked properly in Chrome/IE. This adds a new variable for caching the overlay image/canvas, then applies the styles to just that before page insertion.