Add VESA mode setting back

Adjusted hide cursor call location