Fix page permissions bug, memory wasn't being sanitized before bitflipping occured