Fix for autoresizing

Was trying to replace itself with itself.