Fix for P-frame POC calculation