When switching display outputs in Sway, kitty's window will either be hidden or super tiny (see screenshot) and unusable.

I can reproduce this reliably by plugging in a new display and running something like swaymsg output DP-1 enable 2560x1440 && swaymsg output eDP-1 disable (where DP-1 is the new display and eDP-1 is the old display)
I tried setting sync_to_monitor=no in kitty.conf per this comment, but it did not prevent the issue: #1681 (comment)
System details:
Arch Linux, 5.1.7 kernel using i965/Intel graphics.
Sway 1.1.1 (and tried with sway git master as of this issue filing)
wlroots 0.6 (and tried with wlroots git master as of this issue filing)