Improved resizing windows on OS X (close #474)

sf::Window::setSize will fire a resize event if the view could not be created at the requested size.