Truncate Background image name to avoid layout problem

Fixes #7406

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>