Implement Resize event from SDL2.