Active Control of Thermal Convection in a Rectangular Loop by Changing its Spatial Orientation