Fix for defaulting mode to crop when it is unspecified