The floats are not completely shutting off the fuel. When the bike is on its sidestand the level is high enough to flow out the overflow .
The floats may be leaking and taking in fuel that weighs them down.
The floats are not free to move on their pin axis. Exaggerated when bike is on sidestand. Binding somewhere between float/pin/carb body.
The float height is incorrect. Easily rectified.
Float height adjustmentThe needle valve/seat are contaminated. Clean or replace.
Since you say it happens when the bike sits on the sidestand, I'd try float height/free movement first first. One or more could be sticking.