If you make keyboard shortcut for linear dimension assigned to letter D, then you can't draw rectangle.