Fixed warnings in PlayerView.