Fixed bug when minification is enabled.