Workaround for FF user-select bug (fixes #1807)