Fix overprinting bug