There are two possible ways of fixing this bug: the way you did it, or by keeping the ```self.__class__.__name__``` and deleting the "FancyBboxPatch" part of the following string.  The advantage of the second way is that it gives the correct result for subclasses of FancyBboxPatch.