Don't use ol.size.equals function

To avoid creating an array on each frame (60 times per second).

See @elemoine comment in #1291