changed vga pixel logic to point to correct location