ONLYOFFICE doesn't scale properly on 4K HiDPi monitor (MATE Desktop GTK2)

https://preview.redd.it/fl6uzrxhaybe1.png?width=2638&format=png&auto=webp&s=8e9b11dc626fdd4229be6e949faba9dd3eeb9d98

Hi, just installed only office on MATE desktop environment. I have the 4k monitor, have set 200% scale in display settings and everything else seems to scale properly. However ONLYOFFICE seems to only scale the base board but not the actual editing UI?

I have those in .profile

export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_ENABLE_HIGHDPI_SCALING=1
export QT_SCALE_FACTOR=2
export QT_QPA_PLATFORMTHEME=qt5ct

in .Xresources

Xft.dpi: 192

in .xsessionrc

# GTK-3 Scaling
GDK_SCALE=2 export GDK_SCALE
GDK_DPI_SCALE=0.5 export GDK_DPI_SCALE

$ Qt5 Scaling
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_SCREEN_SCALE_FACTOR=2.0
export QT_SCALE_FACTOR=2.0