X: fix potential crash
vid: clean up remapper initialization