Store the frame size for the SDL2 backend