Fixed return from movePanel