Fixes terminal jumping to secondary monitor