Dirty hack to circumvent the weird WebKit bug