Fix bug with null values.
Default crop resize to center