The behavior of it filling the window by default has been the default for as long as I can remember, it would prob be a rare case like yours to not want it to fill the screen.
But if you want an effect like your first screenshot, you can manually draw the surface like this in some kind of handler object.
//in create
application_surface_draw_enable(false);
///and in the post draw event
draw_surface(application_surface, 0,0)