EditorApplication.playmodeStateChanged is called when scrolling through the Profiler Window

1. Open the Scene scene and run it.
2. Open the Profiler Window, enable it and Pause the game. Notice that console has a log of playmodeStateChanged event firing.
3. Now scroll through frames in the Profiler Window. Notice how console is spammed with the same messages from the playmodeStateChanged handler in Script.cs.

This behavior doesn't let the user to differentiate between real "pause" event and fake ones making editor scripting harder.