Further experimenting has shown the bug can be triggered by opening the site manager and selecting any of the buttons which will cause the site manager dialog to close. For example
1. Open Filezilla
2. Click the "site manager" button.
3. Click the "cancel" button when site manager appears.
This issue appears to be a duplicate of this one, which was later linked to an issue with X11: