pipe-loader: use the correct screen index