Fixes weird bug in minified version of code - only in Chrome 28-29