Temporary fix for loading FITS images in inactive tabs