FL-1720: Fix segfault while rendering video in webkit based browsers