[Refactoring] Fixed slow context menu update.
That's some legacy code - the background parser always validates the
actions for the current position. When doing it manually there it can
interfere with the background task and cause dead locks. (which are
resolved by long timeouts)