Check for rectangle-mark-mode variable so that code does not break with
24.3. Fix warnings.