Autoresize render to fit nicely on frame