Corrected multiplexer coordinate calculation