Updated fill_container()

Updated the fill_container() function to scale and crop image around
container edges