Fixing https screenshot loading bug