Fix cached thumbs bug in SPW. See #10827

Fix for SPW thumbs bug in 4.4.7.

We use cached thumbs if size is 96, otherwise use 'direct' thumbs methods as for 4.4.6.