Reworked VGA output for cursor