Fixing legend on Windows R