Added Platform, drawRect method in GfxManager