Fixes incompatibility with MooTools