PORTx vs. digitalRead()

Huh, strange; I don't have any ideas off of the top of my head. Can you post the full source for your sketch (or a simplified version that illustrates the problem)?