Fixed bug in Chrome