Attempt to fix OL3 function call.

This fixes #4