Added possibility to switch between two modes (chessboard and
transformation points).