fixed reset issue on drag and some GUI scaling