Fix isListeningToResize setter in Flow

Now it only removeEventListener for resize when needed