2f7a8d0505
Proper equality check is needed by compose for state changes.
(cherry picked from commit 7270c48f26)