Fixed window drag error.