optimize tracker thread, use different method for gathering width/height for fullscreen mode