Standardized Transformation Hotfix Because ismob() Sucks

I mistook the capabilities of ismob, and because of that when mobs transformed into other mobs the player was still getting ghosted, this fixes that. Please commit it before people get mad at me :(