Fixed memory warning issue and scaling issue on ipad