Switching the backend from Windows to AGG or Cairo fixes it. In RStudio, the setting is under Tools/Global Options/General/Graphics/Backend.