Applications sometimes not opening on primary monitor

I’m using F36 with Wayland on GNOME. I can successfully set my primary monitor (and this persists). However, some applications open on the wrong monitor and I need to move it to my primary monitor. I do not experience this same issue on X11.

I’ve reviewed both Changing the primary monitor - #2 by oprizal and Gnome Login Menu On Wrong Screen - #2 by vgaetera. The latter instructions work perfectly fine for GDM. The former instructions work temporarily, but the problem returns on reboot.

Things I’ve tried:

  • Turning the monitor off in the display settings instead of unplugging it

  • Deleting and recreating monitors.xml

  • Plugging the second monitor into a different port

This is the contents of monitor.xml:

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>1360</x>
      <y>0</y>
      <scale>1</scale>
      <monitor>
        <monitorspec>
          <connector>DVI-D-1</connector>
          <vendor>HWP</vendor>
          <product>HP w185e</product>
          <serial>CNT13123WN</serial>
        </monitorspec>
        <mode>
          <width>1366</width>
          <height>768</height>
          <rate>59.789539337158203</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>HDMI-1</connector>
          <vendor>SAM</vendor>
          <product>SAMSUNG</product>
          <serial>0x00000000</serial>
        </monitorspec>
        <mode>
          <width>1360</width>
          <height>768</height>
          <rate>60.015163421630859</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>