I managed to find a fix so it works with zdoom, lzdoom and gzdoom. Instead of using offsets with sbarinfo, I put offsets on the image itself.