Fixed a couple of issues entering protected mode