Attempt to fix OL3 function call.