Life was easier for Ukraine’s embattled president when he was only playing the head of state in a TV comedy, and before his successful election bid.