[BUG #7824] Fixed minor issue when supporting "placeTo" for hidden elements.