Fix frame rendering issue with projection changed