Background pixmaps do not change properly