Fixes the bug where the foreground colors get wiped when the IP gets passed over