Fix bug when no scale specified.