Added a constructor to create Rect from SDL_Rect.