Fixed compatibility issue with Sencha Touch 2.1