Fix for xvfb SlimerJS environment.