Hi, I had a similar problem with a diffent library. I found a solution with some help from the library’s author.
Maybe this will also solve the problem you are having. Please see: https://forum.xod.io/t/0-96-inch-4pin-white-iic-i2c-oled-display-for-arduino/3004/4