Fixes bug where thumbnail size was cached for multiple instances