fix block gui moving formula