Move selection background region calculation into React component