Fix incorrect register hiding - Thanks Caedo