draw thumbnail rect