Fix the warning log in Control causing the wrong position