Fixed errors in multitasking occasionally causing a page fault