The reason you're thinking of him as "deranged" is because American propaganda would rather omit the reasons for going to war that I've listed in the parent comment because that would make NATO and therefore the US also partially to blame for what's happening in Ukraine.
I assure you - Putin is not deranged.