Fixes kalatheme warnings with latest libraries. d.o #1908042