Fixed crash in Chrome 27
Possible fix for a Chrome 27 issue (Fixes #438 ?)