Fix display attachment rotation error, and remove unnecessary help function.