frameworks: fix updateBackground issue