Force a positive-length path for menu background (fixes #1305)