bufix in logic to reallocate renderImages (happened too often)