Workaround stupid bug in Chrome