What happens when you enlarge it? That is right, its width is not equal to 32 anymore.
Events are processed from top to bottom; after that image width equal to 32, where its size is changed, it then proceeds to the image width NOT equal to 32, which passes as true. So it runs BOTH events within the same cycle.
You probably want to make those two events exclusive; otherwise they both run. Try with "ELSE" condition. Or you could use a variable that is reset at end of the cycle.