Add constrain crop mode and bgcolor properties