Input lag after certain workshop actions

Does anyone else experience input lag for the player after certain workshop actions? Like, fairly large subroutines. When the player changes hero, the lag gets fixed.