Fix bug with context menu focus losing on Linux