I once came back from a long trip on the DR late at night. Heard a big crash from the garage (below my bedroom) in the middle of the night. Went down with gun in hand to find that the DR was exhausted after hauling my butt all over Colorado and fell asleep just like your KTM.
Turned out the rear tube had a slow leak and with all the gear still on it, when the tire deflated and the weight of the gear compressing the rear shock, the side stand was too long and pushed it over to the right side.