Fixed validation
Change resize_to_fit to resize_to_fill