Revert "Fixed OnPhotonSerializeView error and something else"

This reverts commit 3ccd0562f5cd0edd242b60dc06812357507f043f.